﻿using System;
using System.Net;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace inblank.Web
{
    public partial class _default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            HttpWebRequest wr = (HttpWebRequest)WebRequest.Create("http://inblank.somee.com/inblanktestpage.aspx#/Home");
            //HttpWebRequest wr = (HttpWebRequest)WebRequest.Create("http://inblank.somee.com/slpage.aspx");
            
            string html = new StreamReader(wr.GetResponse().GetResponseStream()).ReadToEnd();
            html = html.Substring(0,html.IndexOf("<!--SCRIPT GENERATED BY SERVER! PLEASE REMOVE-->"));
            //html = html.Replace("<!--SCRIPT GENERATED BY SERVER! PLEASE REMOVE--><center><a href=\"http://somee.com!\">Web hosting by Somee.com</a></center></textarea></xml></script></noframes></noscript></object></layer></style></title></applet><script language=\"JavaScript\" src=\"http://ads.mgmt.somee.com/serveimages/ad2/WholeInsert2.js\"></script><!--SCRIPT GENERATED BY SERVER! PLEASE REMOVE-->", "");
            Response.Write(html);
        }
    }
}